package com.common.service;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Map;

public interface CURDService {
    public ArrayList getToGrid(String tabName,String titles) throws InvocationTargetException, IllegalAccessException;
    public Map getToForm(String tabName,String titles) throws InvocationTargetException, IllegalAccessException;
    public Map saveTable(String tabName, ArrayList<Map<String,Object>> dataSet) throws InvocationTargetException, IllegalAccessException;
    public Map saveForm(String tabName, ArrayList<Map<String,Object>> dataSet) throws InvocationTargetException, IllegalAccessException;
    public Map dataDelete(String tabName,String titles) throws InvocationTargetException, IllegalAccessException;
    public Map<String, Object> userSaveMD5(ArrayList<Map<String,Object>> dataSet) throws InvocationTargetException, IllegalAccessException;
}
